package dn.easy.common.utils.bottompopmenu;

/**
 * Class name
 * Created by  2018/3/16 0016 10:30.
 * Author by yangjing
 */
public class InvoiceTypeList extends SelectedBean{

    /**
     "id": 1,
     "code": "3070401000000000000",
     "name": "餐饮费",
     "flag": "0",
     "unit": null,
     "taxrate": 0.06
     */
    private String code;
    private int id;
    private String name;
    private String flag;
    private String unit;
    private String taxrate;

    public InvoiceTypeList(String name, boolean isSelected) {
        this.name = name;
        setSelected(isSelected);
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getTaxrate() {
        return taxrate;
    }

    public void setTaxrate(String taxrate) {
        this.taxrate = taxrate;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
